package com.menhai.personmanagement.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.menhai.personmanagement.entity.StatisticsOfChronicDiseases;
import com.menhai.personmanagement.entity.co.StatisticsOfChronicDiseasesCo;

@Mapper
public interface StatisticsOfChronicDiseasesMapper extends BaseMapper<StatisticsOfChronicDiseases>{
	
/*	List<StatisticsOfChronicDiseases> selectQuery(
			@Param("chronic") String chronic,
			@Param("name") String name,
			@Param("sex") String sex,
			@Param("ageStart") String ageStart,
			@Param("ageEnd") String ageEnd,
			@Param("idnumber") String idnumber,
			@Param("telephony") String telephony
			);*/

	IPage<StatisticsOfChronicDiseases> selectQuery(
			@Param("page")Page<StatisticsOfChronicDiseases> page,
			@Param("StatisticsOfChronicDiseases") StatisticsOfChronicDiseasesCo StatisticsOfChronicDiseases);
	
	List<StatisticsOfChronicDiseases> selectQueryExcel(@Param("StatisticsOfChronicDiseases") StatisticsOfChronicDiseases StatisticsOfChronicDiseases);
}
